'DeclarationPublic Overloads Shared Function CryptEncodeObject( _ ByVal dwCertEncodingType As Integer, _ ByVal lpszStructType As Integer, _ ByVal pvStructInfo() As Byte, _ ByVal pbEncoded As IntPtr, _ ByRef pcbEncoded As Integer _ ) As Boolean
'UsageDim dwCertEncodingType As Integer Dim lpszStructType As Integer Dim pvStructInfo() As Byte Dim pbEncoded As IntPtr Dim pcbEncoded As Integer Dim value As Boolean value = Crypto.NativeMethods.CryptEncodeObject(dwCertEncodingType, lpszStructType, pvStructInfo, pbEncoded, pcbEncoded)
public static bool CryptEncodeObject( int dwCertEncodingType, int lpszStructType, byte[] pvStructInfo, IntPtr pbEncoded, ref int pcbEncoded )
public: static bool CryptEncodeObject( int dwCertEncodingType, int lpszStructType, array<byte>^ pvStructInfo, IntPtr pbEncoded, int% pcbEncoded )
Parameters
- dwCertEncodingType
- lpszStructType
- pvStructInfo
The value of this parameter cannot be
null(Nothingin Visual Basic).- pbEncoded
- pcbEncoded